#region

using Microsoft.AspNetCore.Http;

#endregion

namespace Vin.Tool.AspNetCore.Extension;

public static class FormFileExtension
{
    /// <summary>
    /// 文件扩展名
    /// </summary>
    public static string FileExtensionName(this IFormFile file) => Path.GetExtension(file.FileName);
}